package com.loong.order.model;

import com.loong.common.mybatis.entity.BaseEntity;
import java.math.BigDecimal;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "payment_order")
public class PaymentOrder extends BaseEntity {
    /**
     * 订单id
     */
    @Column(name = "order_id")
    private Long orderId;

    /**
     * 订单号
     */
    @Column(name = "order_num")
    private String orderNum;

    /**
     * 实付金额
     */
    private BigDecimal payment;

    /**
     * 支付类型
     */
    @Column(name = "payment_type")
    private String paymentType;

    /**
     * 支付渠道
     */
    @Column(name = "payment_channel")
    private String paymentChannel;

    /**
     * 支付状态
     */
    @Column(name = "payment_status")
    private String paymentStatus;
}